namespace SynoManager.FileStation
{
    public class SharedFolderInfo : DirectoryInfo
    {
        private readonly FileStationClient.GetSharesResult folder;

        public SharedFolderInfo(FileStationService service, FileStationClient.GetSharesResult folder)
            : base(service, folder.path)
        {
            this.folder = folder;
            this.name = folder.text;
        }
    }
}